ARIA does not have a "scroll pane" role, but AT-SPI does.
#include "config.h"
#include "gtkatspiutilsprivate.h"
+
#include "gtkenums.h"
#include "gtkpasswordentry.h"
+#include "gtkscrolledwindow.h"
/*< private >
* gtk_accessible_role_to_atspi_role:
if (GTK_IS_PASSWORD_ENTRY (accessible))
return ATSPI_ROLE_PASSWORD_TEXT;
+ /* ARIA does not have a "scroll area" role */
+ if (GTK_IS_SCROLLED_WINDOW (accessible))
+ return ATSPI_ROLE_SCROLL_PANE;
+
return gtk_accessible_role_to_atspi_role (role);
}